const ProjectVersion = require('./version.js')
console.log('ProjectVersion', ProjectVersion)
module.exports = {
  lintOnSave: false,
  chainWebpack: config => {
    config.plugin('define').tap(args => {
      args[0].ProjectVersion = JSON.stringify(ProjectVersion)
      return args
    })
  }
}
